<OperationOutcome xmlns="http://hl7.org/fhir">
   <issue>
      <severity value="error"/>
      <code value="processing"/>
      <diagnostics value="[error] Bundle @ /*:Bundle[namespace-uri()='http://hl7.org/fhir'][1]; Test=count(for $entry in f:entry[f:resource] return $entry[count(parent::f:Bundle/f:entry[f:fullUrl/@value=$entry/f:fullUrl/@value and ((not(f:resource/*/f:meta/f:versionId/@value) and not($entry/f:resource/*/f:meta/f:versionId/@value)) or f:resource/*/f:meta/f:versionId/@value=$entry/f:resource/*/f:meta/f:versionId/@value)])!=1])=0; Message=bdl-7: FullUrl must be unique in a bundle, or else entries with the same fullUrl must have different meta.versionId"/>
      <location value="Bundle @ /*:Bundle[namespace-uri()='http://hl7.org/fhir'][1]"/>
   </issue>
   <issue>
      <severity value="error"/>
      <code value="processing"/>
      <diagnostics value="[error] Bundle @ /*:Bundle[namespace-uri()='http://hl7.org/fhir'][1]/*:entry[namespace-uri()='http://hl7.org/fhir'][3]; Test=(not(exists(f:fullUrl)) and not(exists(f:resource))) or (exists(f:fullUrl) and exists(f:resource)); Message=bdl-6: The fullUrl element must be present when a resource is present, and not present otherwise"/>
      <location value="Bundle @ /*:Bundle[namespace-uri()='http://hl7.org/fhir'][1]/*:entry[namespace-uri()='http://hl7.org/fhir'][3]"/>
   </issue>
</OperationOutcome>